﻿using DAL.Engine.Domain;
using FluentNHibernate.Mapping;

namespace DAL.Nhibernate.Map
{
    public class UserMap : ClassMap<User>
    {
        public UserMap()
        {
            Id(x => x.Id);
            Map(x => x.Name).Not.Nullable();
            //HasOne(x => x.Parent);
        }
    }
}
